package com.springsource.a09Proxy.jdk.impl;

public class JdkProxyTest {


    public static void main(String[] args) {
        ITarget target = new $Proxy0((proxy, method, args1) -> {
            System.out.println("before");
            Object result = method.invoke(new TargetImpl(), args1);
            System.out.println("after");
            return result;
        });
        target.doSomething("hello");
    }


}
